package Test;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

public class Demo4 {
    public static void main(String[] args) {
        String s1 = new String("runoob");
        String s2 = new String("runoob");
        System.out.println("s1 == s2 is:" + s1 == s2);
        System.out.println(s1.hashCode()+ "\t" + s1.toString());
        System.out.println(s2.hashCode()+ "\t" + s2.toString());
    }

    @Before
    public void test(){
        System.out.println("哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈");
    }

    @After
    public void test2(){
        System.out.println("嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻");
    }

    @Test
    public void test3(){
        System.out.println("??????????????");
    }
}
